Methods and systems for detecting weather conditions including fog using vehicle onboard sensors

ABSTRACT

Methods and systems for detecting weather conditions including fog using vehicle onboard sensors are provided. An example method includes receiving laser data collected from scans of an environment of a vehicle, and associating, by a computing device, laser data points of with one or more objects in the environment. The method also includes comparing laser data points that are unassociated with the one or more objects in the environment with stored laser data points representative of a pattern due to fog, and based on the comparison, identifying by the computing device an indication that a weather condition of the environment of the vehicle includes fog.

BACKGROUND

Unless otherwise indicated herein, the materials described in this section are not prior art to the claims in this application and are not admitted to be prior art by inclusion in this section.

Autonomous vehicles use various computing systems to aid in the transport of passengers from one location to another. Some autonomous vehicles may require an initial input or continuous input from an operator, such as a pilot, driver, or passenger. Other autonomous systems, for example autopilot systems, may be used when the system has been engaged, which permits the operator to switch from a manual mode (where the operator exercises a high degree of control over the movement of the vehicle) to an autonomous mode (where the vehicle essentially drives itself) to modes that lie somewhere in between.

Such vehicles are typically equipped with various types of sensors in order to detect objects in the surroundings. For example, an autonomous vehicle may include lasers, sonar, radar, cameras, and other devices which scan and record data from surroundings of the vehicle. Sensor data from one or more of these devices may be used to detect objects and their respective characteristics (position, shape, heading, speed, etc.). This detection and identification is useful for the safe operation of autonomous vehicle.

SUMMARY

Within examples, devices and methods for detecting weather conditions including fog using vehicle onboard sensors are provided.

In one example, a method is provided that comprises receiving laser data collected from scans of an environment of a vehicle, and the laser data includes a plurality of laser data points. The method also includes associating, by a computing device, laser data points of the plurality of laser data points with one or more objects in the environment, and comparing laser data points that are unassociated with the one or more objects in the environment with stored laser data points representative of a pattern due to fog. The method further includes based on the comparison, identifying by the computing device an indication that a weather condition of the environment of the vehicle includes fog.

In another example, a non-transitory computer readable storage medium having stored therein instructions, that when executed by a computing device, cause the computing device to perform functions. The functions comprise receiving laser data collected from scans of an environment of a vehicle, and the laser data includes a plurality of laser data points. The functions also comprise associating laser data points of the plurality of laser data points with one or more objects in the environment, and comparing laser data points that are unassociated with the one or more objects in the environment with stored laser data points representative of a pattern due to fog. The functions further comprise based on the comparison, identifying by the computing device an indication that a weather condition of the environment of the vehicle includes fog.

In still another example, a system is provided that comprises at least one processor, and data storage comprising instructions executable by the at least one processor to cause the system to perform functions. The functions comprise receiving laser data collected from scans of an environment of a vehicle, and the laser data includes a plurality of laser data points. The functions further comprise associating laser data points of the plurality of laser data points with one or more objects in the environment, and comparing laser data points that are unassociated with the one or more objects in the environment with stored laser data points representative of a pattern due to fog. The functions further comprise based on the comparison, identifying by the computing device an indication that a weather condition of the environment of the vehicle includes fog.

In still another example, a device is provided comprising a means for receiving laser data collected for an environment of a vehicle, and the laser data includes a plurality of laser data points. The device also comprises a means for determining laser data points of the plurality of laser data points that are associated with the one or more objects in the environment. The device also comprises based on laser data points being unassociated with the one or more objects in the environment, a means for identifying by the computing device an indication that a weather condition of the environment of the vehicle includes fog.

These as well as other aspects, advantages, and alternatives, will become apparent to those of ordinary skill in the art by reading the following detailed description, with reference where appropriate to the accompanying figures.

BRIEF DESCRIPTION OF THE FIGURES

FIG. 1 is a functional block diagram depicting a vehicle according to an example embodiment.

FIG. 2 depicts an example vehicle that can include all or some of the functions described in connection with the vehicle in reference to FIG. 1.

FIG. 3 is a block diagram of an example method for detecting weather conditions including fog using onboard vehicle sensors, in accordance with at least some embodiments described herein.

FIG. 4 is a block diagram of example methods for determining further indications of weather conditions including a fog using onboard vehicle sensors, in accordance with at least some embodiments described herein.

FIG. 5A is an example conceptual illustration of identifying an indication that a weather condition of the environment includes fog.

FIG. 5B is an example conceptual illustration of an image captured by the vehicle in FIG. 5A.

FIGS. 6A-6B include example conceptual side view illustrations of identifying an indication that an environment of a vehicle includes a fog.

DETAILED DESCRIPTION

The following detailed description describes various features and functions of the disclosed systems and methods with reference to the accompanying figures. In the figures, similar symbols identify similar components, unless context dictates otherwise, and the figures or components of the figures may not necessarily be drawn to scale for illustration purposes. The illustrative system and method embodiments described herein are not meant to be limiting. It may be readily understood that certain aspects of the disclosed systems and methods can be arranged and combined in a wide variety of different configurations, all of which are contemplated herein.

Within examples, methods and systems are provided for detecting weather conditions using vehicle onboard sensors, and modifying behavior of the vehicle accordingly. In some examples, self-driving cars or autonomous vehicles may not drive or drive as well under certain weather conditions such as heavy rain, wet-road, fog, direct sun light, etc., and thus, behavior the autonomous vehicle may be based on the detected weather condition.

In one example, a method is provided that comprises receiving laser data collected for an environment of a vehicle, and a computing device determining laser data points of the plurality of laser data points that are associated with one or more objects in the environment. Based on laser data points being unassociated with the one or more objects in the environment, the computing device can identify an indication that a weather condition of the environment of the vehicle includes fog.

In a specific example, a laser sensor may be unable to detect objects through fog, and may in fact, receive data points reflected off the fog. For any untracked received laser data (e.g., laser data that does not match to tracked or known objects in the environment), an indication can be determined that the vehicle is in an environment that has a foggy weather condition.

Further information may be used to provide a higher confidence level or confirmation of the weather condition is foggy. For example, information may include information about the weather from a server, image data from a camera coupled to the vehicle, or data from a radar sensor that may see through the fog and detect the objects not seen by the laser.

The indication that the weather condition is foggy can be useful to determine safe driving actions of an autonomous vehicle. Example actions may include providing instructions to indicate a request to transition to a manual mode, or if remaining in autonomous mode then switching to a mode specific to driving in fogs (i.e., driving at slower speeds, allowing for larger distances to accomplish braking, turn on fog lights, etc.).

Example systems within the scope of the present disclosure will now be described in greater detail. Generally, an example system may be implemented in or may take the form of an automobile. However, an example system may also be implemented in or take the form of other vehicles, such as cars, trucks, motorcycles, buses, boats, airplanes, helicopters, lawn mowers, recreational vehicles, amusement park vehicles, farm equipment, construction equipment, trams, golf carts, trains, and trolleys. Other vehicles are possible as well.

FIG. 1 is a functional block diagram depicting a vehicle 100 according to an example embodiment. The vehicle 100 is configured to operate fully or partially in an autonomous mode, and thus may be referred to as an “autonomous vehicle.” For example, a computer system 112 may control the vehicle 100 while in an autonomous mode via control instructions to a control system 106 for the vehicle 100. The computer system 112 may receive information from a sensor system 104, and base one or more control processes (such as the setting a heading so as to avoid a detected obstacle) upon the received information in an automated fashion.

The vehicle 100 may be fully autonomous or partially autonomous. In a partially autonomous vehicle some functions can optionally be manually controlled (e.g., by a driver) some or all of the time. Further, a partially autonomous vehicle may be configured to switch between a fully-manual operation mode and a partially-autonomous and/or a fully-autonomous operation mode.

The vehicle 100 may include various subsystems such as a propulsion system 102, a sensor system 104, a control system 106, one or more peripherals 108, as well as a power supply 110, a computer system 112, and a user interface 116. The vehicle 100 may include more or fewer subsystems and each subsystem may include multiple elements. Further, each of the subsystems and elements of vehicle 100 may be interconnected. Thus, one or more of the described functions of the vehicle 100 may be divided up into additional functional or physical components, or combined into fewer functional or physical components. In some further examples, additional functional and/or physical components may be added to the examples illustrated by FIG. 1.

The propulsion system 102 may include components operable to provide powered motion to the vehicle 100. Depending upon the embodiment, the propulsion system 102 may include an engine/motor 118, an energy source 119, a transmission 120, and wheels/tires 121. The engine/motor 118 could be any combination of an internal combustion engine, an electric motor, steam engine, Stirling engine, or other types of engines and/or motors. In some embodiments, the propulsion system 102 may include multiple types of engines and/or motors. For instance, a gas-electric hybrid vehicle may include a gasoline engine and an electric motor. Other examples are possible as well.

The energy source 119 may represent a source of energy that may, in full or in part, power the engine/motor 118. That is, the engine/motor 118 may be configured to convert the energy source 119 into mechanical energy to operate the transmission 120. Examples of energy sources 119 may include gasoline, diesel, other petroleum-based fuels, propane, other compressed gas-based fuels, ethanol, solar panels, batteries, capacitors, flywheels, regenerative braking systems, and/or other sources of electrical power, etc. The energy source 119 may also provide energy for other systems of the automobile 100.

The transmission 120 may include elements that are operable to transmit mechanical power from the engine/motor 118 to the wheels/tires 121. Such elements may include a gearbox, a clutch, a differential, a drive shaft, and/or axle(s), etc. The transmission 120 may include other elements as well. The drive shafts may include one or more axles that may be coupled to the one or more wheels/tires 121.

The wheels/tires 121 may be arranged to stably support the vehicle 100 while providing frictional traction with a surface, such as a road, upon which the vehicle 100 moves. Accordingly, the wheels/tires 121 of vehicle 100 may be configured in various formats, including a unicycle, bicycle/motorcycle, tricycle, or car/truck four-wheel format. Other wheel/tire geometries are possible, such as those including six or more wheels. Any combination of the wheels/tires 121 of vehicle 100 may be operable to rotate differentially with respect to other wheels/tires 121. The wheels/tires 121 may represent at least one wheel that is fixedly attached to the transmission 120 and at least one tire coupled to a rim of the wheel that could make contact with the driving surface. The wheels/tires 121 may include any combination of metal and rubber, or another combination of materials.

The sensor system 104 generally includes one or more sensors configured to detect information about the environment surrounding the vehicle 100. For example, the sensor system 104 may include a Global Positioning System (GPS) 122, a precipitation sensor 123, an inertial measurement unit (IMU) 124, a RADAR unit 126 (radio detection and ranging), a laser rangefinder/LIDAR unit 128 (laser imaging detection and ranging), a camera 130, and/or a microphone 131. The sensor system 104 may also include sensors configured to monitor internal systems of the vehicle 100 (e.g., O₂ monitor, fuel gauge, engine oil temperature, wheel speed sensors, etc.). One or more of the sensors included in the sensor system 104 may be configured to be actuated separately and/or collectively in order to modify a position and/or an orientation of the one or more sensors.

Sensors in the sensor system 104 may be configured to provide data that is processed by the computer system 112 in real-time. For example, sensors may continuously update outputs to reflect an environment being sensed at or over a range of time, and continuously or as-demanded provide that updated output to the computer system 112 so that the computer system 112 can determine whether the vehicle's then current direction or speed should be modified in response to the sensed environment.

The GPS 122 may be any sensor configured to estimate a geographic location of the vehicle 100. To this end, GPS 122 may include a transceiver operable to provide information regarding the position of the vehicle 100 with respect to the Earth.

The precipitation sensor 123 may be mounted under or incorporated into a windshield of the vehicle 100. Precipitation sensors may also be mounted at various other locations, such as at or near a location of headlamps, etc. In one example, the precipitation sensor 123 may include a set of one or more infrared light-emitting diodes (LEDs) and a photodetector such as a photodiode. Light emitted by the LEDs may be reflected by the windshield back to the photodiode. The less light the photodiode receives may be indicative of the more precipitation outside of the vehicle 100. An amount of reflected light or some other indicator of the detected amount of precipitation may be passed to computer system 112.

The IMU 124 may include any combination of sensors (e.g., accelerometers and gyroscopes) configured to sense position and orientation changes of the vehicle 100 based on inertial acceleration.

The RADAR unit 126 may represent a system that utilizes radio signals to sense objects within the local environment of the vehicle 100. In some embodiments, in addition to sensing the objects, the RADAR unit 126 may additionally be configured to sense the speed and/or heading of the objects.

Similarly, the laser rangefinder or LIDAR unit 128 may be any sensor configured to sense objects in the environment in which the vehicle 100 is located using lasers. Depending upon the embodiment, the laser rangefinder/LIDAR unit 128 could include one or more laser sources, a laser scanner, and one or more detectors, among other system components. The laser rangefinder/LIDAR unit 128 could be configured to operate in a coherent (e.g., using heterodyne detection) or an incoherent detection mode. The LIDAR unit 128 may have a range of about 150 meters, about a thirty degree vertical field of view, and about a 360 degree horizontal field of view; however, other configurations are possible as well. The LIDAR unit 128 may provide information indicative of range and intensity information useful to identify a location and distance of various objects in the vehicle's surroundings. In one aspect, the LIDAR unit 128 may provide data to measure a distance between the vehicle 100 and surfaces of objects facing the vehicle 100 by spinning on its axis and changing its pitch.

The camera 130 may include one or more devices configured to capture a plurality of images of the environment surrounding the vehicle 100. The camera 130 may be a still camera or a video camera. In some embodiments, the camera 130 may be mechanically movable such as by rotating and/or tilting a platform to which the camera is mounted. As such, a control process of the vehicle 100 may be implemented to control the movement of the camera 130.

The sensor system 104 may also include a microphone 131. The microphone 131 may be configured to capture sound from the environment surrounding the vehicle 100. In some cases, multiple microphones can be arranged as a microphone array, or possibly as multiple microphone arrays.

The control system 106 may be configured to control operation(s) of the vehicle 100 and its components. Accordingly, the control system 106 may include various elements include steering unit 132, throttle 134, brake unit 136, a sensor fusion algorithm 138, a computer vision system 140, a navigation/pathing system 142, and an obstacle avoidance system 144, etc.

The steering unit 132 may represent any combination of mechanisms that may be operable to adjust the heading of vehicle 100. For example, the steering unit 132 can adjust the axis (or axes) of one or more of the wheels/tires 121 so as to effect turning of the vehicle 100. The throttle 134 may be configured to control, for instance, the operating speed of the engine/motor 118 and, in turn, control the speed of the vehicle 100. The brake unit 136 may include any combination of mechanisms configured to decelerate the vehicle 100. The brake unit 136 may, for example, use friction to slow the wheels/tires 121. In other embodiments, the brake unit 136 inductively decelerates the wheels/tires 121 by a regenerative braking process to convert kinetic energy of the wheels/tires 121 to electric current. The brake unit 136 may take other forms as well.

The sensor fusion algorithm 138 may be an algorithm (or a computer program product storing an algorithm) configured to accept data from the sensor system 104 as an input. The data may include, for example, data representing information sensed at the sensors of the sensor system 104. The sensor fusion algorithm 138 may include or be configured to be executed using, for instance, a Kalman filter, Bayesian network, or other algorithm. The sensor fusion algorithm 138 may provide various assessments based on the data from sensor system 104. Depending upon the embodiment, the assessments may include evaluations of individual objects and/or features in the environment of vehicle 100, evaluations of particular situations, and/or evaluations of possible impacts based on the particular situation. Other assessments are possible.

The computer vision system 140 may be any system operable to process and analyze images captured by camera 130 in order to identify objects and/or features in the environment of vehicle 100 that could include traffic signals, road way boundaries, other vehicles, pedestrians, and/or obstacles, etc. The computer vision system 140 may use an object recognition algorithm, a Structure From Motion (SFM) algorithm, video tracking, and other computer vision techniques. In some embodiments, the computer vision system 140 could be additionally configured to map an environment, track objects, estimate the speed of objects, etc.

The navigation and pathing system 142 may be any system configured to determine a driving path for the vehicle 100. For example, the navigation/pathing system 142 may determine a series of speeds and directional headings to effect movement of the vehicle 100 along a path that substantially avoids perceived obstacles while generally advancing the vehicle 100 along a roadway-based path leading to an ultimate destination, which may be set according to user inputs via the user interface 116, for example. The navigation and pathing system 142 may additionally be configured to update the driving path dynamically while the vehicle 100 is in operation. In some embodiments, the navigation and pathing system 142 could be configured to incorporate data from the sensor fusion algorithm 138, the GPS 122, and one or more predetermined maps so as to determine the driving path for vehicle 100.

The obstacle avoidance system 144 may represent a control system configured to identify, evaluate, and avoid or otherwise negotiate potential obstacles in the environment of the vehicle 100. For example, the obstacle avoidance system 144 may effect changes in the navigation of the vehicle 100 by operating one or more subsystems in the control system 106 to undertake swerving maneuvers, turning maneuvers, braking maneuvers, etc. In some embodiments, the obstacle avoidance system 144 is configured to automatically determine feasible (“available”) obstacle avoidance maneuvers on the basis of surrounding traffic patterns, road conditions, etc. For example, the obstacle avoidance system 144 may be configured such that a swerving maneuver is not undertaken when other sensor systems detect vehicles, construction barriers, other obstacles, etc. in the region adjacent the vehicle 100 that would be swerved into. In some embodiments, the obstacle avoidance system 144 may automatically select the maneuver that is both available and maximizes safety of occupants of the vehicle. For example, the obstacle avoidance system 144 may select an avoidance maneuver predicted to cause the least amount of acceleration in a passenger cabin of the vehicle 100.

The control system 106 may additionally or alternatively include components other than those shown and described.

The vehicle 100 also includes peripherals 108 configured to allow interaction between the vehicle 100 and external sensors, other vehicles, other computer systems, and/or a user, such as an occupant of the vehicle 100. For example, the peripherals 108 for receiving information from occupants, external systems, etc. may include a wireless communication system 146, a touchscreen 148, a microphone 150, and/or a speaker 152.

In some embodiments, the peripherals 108 function to receive inputs for a user of the vehicle 100 to interact with the user interface 116. To this end, the touchscreen 148 can both provide information to a user of the vehicle 100, and convey information from the user indicated via the touchscreen 148 to the user interface 116. The touchscreen 148 can be configured to sense both touch positions and touch gestures from the finger of a user (or stylus, etc.) via capacitive sensing, resistance sensing, optical sensing, a surface acoustic wave process, etc. The touchscreen 148 can be capable of sensing finger movement in a direction parallel or planar to the touchscreen surface, in a direction normal to the touchscreen surface, or both, and may also be capable of sensing a level of pressure applied to the touchscreen surface. An occupant of the vehicle 100 can also utilize a voice command interface. For example, the microphone 150 can be configured to receive audio (e.g., a voice command or other audio input) from an occupant of the vehicle 100. Similarly, the speaker 152 can be configured to output audio to the occupant of the vehicle 100.

In some embodiments, the peripherals 108 function to allow communication between the vehicle 100 and external systems, such as devices, sensors, other vehicles, etc. within its surrounding environment and/or controllers, servers, etc., physically located far from the vehicle 100 that provide useful information regarding the vehicle's surroundings, such as traffic information, weather information, etc. For example, the wireless communication system 146 can wirelessly communicate with one or more devices directly or via a communication network. The wireless communication system 146 can optionally use 3G cellular communication, such as CDMA, EVDO, GSM/GPRS, and/or 4G cellular communication, such as WiMAX or LTE. Additionally or alternatively, the wireless communication system 146 can communicate with a wireless local area network (WLAN), for example, using WiFi. In some embodiments, the wireless communication system 146 could communicate directly with a device, for example, using an infrared link, short-range wireless link, etc. The wireless communication system 146 can include one or more dedicated short range communication (DSRC) devices that can include public and/or private data communications between vehicles and/or roadside stations. Other wireless protocols for sending and receiving information embedded in signals, such as various vehicular communication systems, can also be employed by the wireless communication system 146 within the context of the present disclosure.

The power supply 110 may provide power to components of the vehicle 100, such as electronics in the peripherals 108, the computer system 112, the sensor system 104, etc. The power supply 110 can include a rechargeable lithium-ion or lead-acid battery for storing and discharging electrical energy to the various powered components, for example. In some embodiments, one or more banks of batteries may be configured to provide electrical power. In some embodiments, the power supply 110 and the energy source 119 can be implemented together, as in some all-electric cars.

Many or all of the functions of the vehicle 100 may be controlled via the computer system 112 that receives inputs from the sensor system 104, the peripherals 108, etc., and communicates appropriate control signals to the propulsion system 102, the control system 106, the peripherals 108, etc. to effect automatic operation of the vehicle 100 based on its surroundings. The computer system 112 may include at least one processor 113 (which could include at least one microprocessor) that executes instructions 115 stored in a non-transitory computer readable medium, such as the data storage 114. The computer system 112 may also represent a plurality of computing devices that may serve to control individual components or subsystems of the vehicle 100 in a distributed fashion.

In some embodiments, data storage 114 may contain instructions 115 (e.g., program logic) executable by the processor 113 to execute various automobile functions, including those described above in connection with FIG. 1. Data storage 114 may contain additional instructions as well, including instructions to transmit data to, receive data from, interact with, and/or control one or more of the propulsion system 102, the sensor system 104, the control system 106, and the peripherals 108.

In addition to the instructions 115, the data storage 114 may store data such as roadway maps, path information, among other information. Such information may be used by vehicle 100 and computer system 112 at during the operation of the vehicle 100 in the autonomous, semi-autonomous, and/or manual modes.

The vehicle 100, and associated computer system 112, provides information to and/or receives input from, a user of the vehicle 100, such as an occupant in a passenger cabin of the vehicle 100. Accordingly, the vehicle 100 may include a user interface 116 for providing information to or receiving input from a user of vehicle 100. The user interface 116 may control or enable control of content and/or the layout of interactive images that could be displayed on the touchscreen 148. Further, the user interface 116 could include one or more input/output devices within the set of peripherals 108, such as the wireless communication system 146, the touchscreen 148, the microphone 150, and the speaker 152.

The computer system 112 controls the operation of the vehicle 100 based on inputs received from various subsystems indicating vehicle and/or environmental conditions (e.g., propulsion system 102, sensor system 104, and/or control system 106), as well as inputs from the user interface 116, indicating user preferences. For example, the computer system 112 may utilize input from the control system 106 to control the steering unit 132 to avoid an obstacle detected by the sensor system 104 and the obstacle avoidance system 144. The computer system 112 may be configured to control many aspects of the vehicle 100 and its subsystems. Generally, however, provisions are made for manually overriding automated controller-driven operation, such as in the event of an emergency, or merely in response to a user-activated override, etc.

The components of the vehicle 100 described herein may be configured to work in an interconnected fashion with other components within or outside their respective systems. For example, the camera 130 can capture a plurality of images that represent information about an environment of the vehicle 100 while operating in an autonomous mode. The environment may include other vehicles, traffic lights, traffic signs, road markers, pedestrians, etc. The computer vision system 140 can categorize and/or recognize various aspects in the environment in concert with the sensor fusion algorithm 138, the computer system 112, etc. based on object recognition models pre-stored in the data storage 114, and/or by other techniques.

Although FIG. 1 shows various components of vehicle 100, i.e., wireless communication system 146, computer system 112, data storage 114, and user interface 116, as being integrated into the vehicle 100, one or more of these components could be mounted or associated separately from the vehicle 100. For example, data storage 114 could, in part or in full, exist separate from the vehicle 100. Thus, the vehicle 100 could be provided in the form of device elements that may be located separately or together. The device elements that make up vehicle 100 may generally be communicatively coupled together in a wired and/or wireless fashion.

FIG. 2 depicts an example vehicle 200 that can include all or some of the functions described in connection with the vehicle 100 in reference to FIG. 1. Although example vehicle 200 is illustrated in FIG. 2 as a four-wheel sedan-type car for illustrative purposes, the present disclosure is not so limited. For instance, example vehicle 200 can represent any type of vehicle.

Example vehicle 200 includes a sensor unit 202, a wireless communication system 204, a LIDAR unit 206, a laser rangefinder unit 208, and a camera 210. Furthermore, example vehicle 200 may include any of the components described in connection with vehicle 100 of FIG. 1.

The sensor unit 202 is mounted atop example vehicle 200 and includes one or more sensors configured to detect information about an environment surrounding example vehicle 200, and output indications of the information. For example, the sensor unit 202 may include any combination of cameras, RADARs, LIDARs, range finders, and acoustic sensors. The sensor unit 202 may include one or more movable mounts that may be operable to adjust the orientation of one or more sensors in the sensor unit 202. In one embodiment, the movable mount may include a rotating platform that may scan sensors so as to obtain information from each direction around example vehicle 200. In another embodiment, the movable mount of the sensor unit 202 may be moveable in a scanning fashion within a particular range of angles and/or azimuths. The sensor unit 202 may be mounted atop the roof of a car, for instance, however other mounting locations are possible. Additionally, the sensors of the sensor unit 202 may be distributed in different locations and need not be collocated in a single location. Some possible sensor types and mounting locations include the LIDAR unit 206 and laser rangefinder unit 208. Furthermore, each sensor of the sensor unit 202 may be configured to be moved or scanned independently of other sensors of the sensor unit 202.

The wireless communication system 204 may be located on a roof of example vehicle 200 as depicted in FIG. 2. Alternatively, the wireless communication system 204 may be located, fully or in part, elsewhere. The wireless communication system 204 may include wireless transmitters and receivers that may be configured to communicate with devices external or internal to example vehicle 200. Specifically, the wireless communication system 204 may include transceivers configured to communicate with other vehicles and/or computing devices, for instance, in a vehicular communication system or a roadway station. Examples of such vehicular communication systems include dedicated short range communications (DSRC), radio frequency identification (RFID), and other proposed communication standards directed towards intelligent transport systems.

The camera 210 may be a photo-sensitive instrument, such as a still camera, a video camera, etc., that is configured to capture a plurality of images of the environment of example vehicle 200. To this end, the camera 210 can be configured to detect visible light, and can additionally or alternatively be configured to detect light from other portions of the spectrum, such as infrared or ultraviolet light. The camera 210 can be a two-dimensional detector, and can optionally have a three-dimensional spatial range of sensitivity. In some embodiments, the camera 210 can include, for example, a range detector configured to generate a two-dimensional image indicating distance from the camera 210 to a number of points in the environment. To this end, the camera 210 may use one or more range detecting techniques.

For example, the camera 210 may provide range information by using a structured light technique in which example vehicle 200 illuminates an object in the environment with a predetermined light pattern, such as a grid or checkerboard pattern and uses the camera 210 to detect a reflection of the predetermined light pattern from environmental surroundings. Based on distortions in the reflected light pattern, example vehicle 200 may determine the distance to the points on the object. The predetermined light pattern may comprise infrared light, or radiation at other suitable wavelengths for such measurements.

The camera 210 may be mounted inside a front windshield of example vehicle 200. Specifically, the camera 210 may be situated to capture images from a forward-looking view with respect to the orientation of example vehicle 200. Other mounting locations and viewing angles of the camera 210 may also be used, either inside or outside example vehicle 200.

The camera 210 can have associated optics operable to provide an adjustable field of view. Further, the camera 210 may be mounted to example vehicle 200 with a movable mount to vary a pointing angle of the camera 210, such as a via a pan/tilt mechanism.

FIG. 3 is a block diagram of an example method for detecting weather conditions including fog using onboard vehicle sensors, in accordance with at least some embodiments described herein. Method 300 shown in FIG. 3 presents an embodiment of a method that, for example, could be used with the vehicle 100 and/or vehicle 200 as illustrated and described in reference to FIGS. 1 and 2, respectively, or components of the vehicle 100 or vehicle 200. For example, the processes described herein may be carried out by the RADAR unit 126, the LIDAR unit 128, or camera 130 mounted to an autonomous vehicle (e.g., vehicle 200) in communication with the computer system 112, the sensor fusion algorithm 138, and/or the computer vision system 140. Method 300 may include one or more operations, functions, or actions as illustrated by one or more of blocks 302-306. Although the blocks are illustrated in a sequential order, these blocks may in some instances be performed in parallel, and/or in a different order than those described herein. Also, the various blocks may be combined into fewer blocks, divided into additional blocks, and/or removed based upon the desired implementation.

In addition, for the method 300 and other processes and methods disclosed herein, the flowchart shows functionality and operation of one possible implementation of present embodiments. In this regard, each block may represent a module, a segment, or a portion of program code, which includes one or more instructions (e.g., machine readable code) executable by a processor for implementing specific logical functions or steps in the process. The program code may be stored on any type of computer readable medium, for example, such as a storage device including a disk or hard drive. The computer readable medium may include a non-transitory computer readable medium, for example, such as computer-readable media that stores data for short periods of time like register memory, processor cache and Random Access Memory (RAM). The computer readable medium may also include non-transitory media, such as secondary or persistent long term storage, like read only memory (ROM), optical or magnetic disks, compact-disc read only memory (CD-ROM), for example. The computer readable media may also be any other volatile or non-volatile storage systems. The computer readable medium may be considered a computer readable storage medium, a tangible storage device, a computer program product, or other article of manufacture, for example.

The non-transitory computer readable medium could also be distributed among multiple data storage elements, which could be remotely located from each other. A computing device that executes some or all of the stored instructions could be a vehicle, such as the example vehicle 200 illustrated in FIG. 2. Alternatively, the computing device that executes some or all of the stored instructions could be another computing device, such as a server.

In addition, for the method 300 and other processes and methods disclosed herein, each block in FIG. 3 may represent circuitry that is wired to perform the specific logical functions in the process.

Example methods, such as method 300 of FIG. 3 may be carried out in whole or in part by the vehicle and its subsystems. Accordingly, example methods could be described by way of example herein as being implemented by the vehicle. However, it should be understood that an example method may be implemented in whole or in part by other computing devices of the vehicle or separate from the vehicle. For example, an example method may be implemented in whole or in part by a server system, which receives data from a device such as those associated with the vehicle. Other examples of computing devices or combinations of computing devices that can implement an example method are possible.

At block 302, the method 300 includes receiving laser data collected from scans of an environment of a vehicle. The laser data includes a plurality of laser data points that are based on objects in the environment that are perceived to be physically present due to reflected or backscattered light. The vehicle, or components of the vehicle such as a computing device or processor, may be configured to receive laser data that is collected.

As an example, the vehicle may have a LIDAR unit that illuminates areas around, surrounding, in front of, behind, to the side, or in any proximity or relation to the vehicle, and detects reflected light. In operation, the LIDAR rotates and (e.g., periodically) emits laser beams. Reflections from the emitted laser beams by objects in the environment are then received by suitable sensors. Time-stamping receipt of the reflected signals allows for associating each reflected signal (if any is received at all) with the most recently emitted laser pulse, and measuring the time delay between emission of the laser pulse and reception of the reflected light. The time delay provides an estimate of the distance to the reflective feature by scaling according to the speed of light in the intervening atmosphere. Combining the distance information for each reflected signal with the orientation of the LIDAR device for the respective pulse emission allows for determining a position of the reflective feature in three-dimensions. For illustrative purposes, an environmental scene can be described in the two-dimensional x-y plane in connection with a single sweep of the LIDAR device that estimates positions to a series of points located in the x-y plane. However, it is noted that a more complete three-dimensional sampling is provided by either adjusting beam steering optics to direct the laser beam up or down from the x-y plane on its next sweep of the scene or by providing additional lasers and associated beam steering optics dedicated to sampling point locations in planes above and below the x-y plane, or combinations of these.

At block 304, the method 300 includes associating, by a computing device, laser data points of the plurality of laser data points with one or more objects in the environment. As an example, a tracking system may be used to track objects, and laser data points that are associated with tracked objects can be determined. Laser data received due to the reflective features in an environment may be deemed to be due to an object physically present in the environment (e.g., causing the laser to be reflected). The computing device can be configured to store associated locations of such objects seen by the laser data, and to store associations between the laser data and the objects.

In some examples, a point cloud corresponding to objects in the environmental can be generated. Each point in the point cloud can be referenced by an azimuth angle (e.g., orientation of the LIDAR device while emitting the pulse corresponding to the point, which is determined by the orientation of an rotating angled mirror of the LIDAR) and a line-of-sight (LOS) distance (e.g., a distance indicated by the time delay between pulse emission and reflected light reception). For pulses that do not result in a returning reflected signal, the distance in the point map can optionally be set to the maximum distance sensitivity of the LIDAR device. The maximum distance sensitivity can be determined according to the maximum time delay the associated optical sensors wait for a return reflected signal following each pulse emission, which can itself be set according to the anticipated signal strength of a reflected signal at a particular distance given ambient lighting conditions, intensity of the emitted pulse, predicted reflectivity of environmental features, etc. In some examples, the maximum distance can be approximately 60 meters, 80 meters, 100 meters, or 150 meters, but other examples are possible for particular configurations of the LIDAR device and associated optical sensors.

In some embodiments, the sensor fusion algorithm 138, computer vision system 140, and/or computer system 112 illustrated in FIG. 1, can be configured to interpret the collected laser data alone and/or in combination with additional sensor-indicated information and/or memory-based pattern-matching point clouds and/or baseline maps of the environment to categorize or identify group of points as corresponding to objects in the environment.

Further, each spatial point can be associated with a respective laser from a set of lasers and a respective timestamp. That is, in an embodiment where the LIDAR includes multiple lasers, each respective received spatial point can be associated with the particular laser that was detected in accordance with the respective received spatial point. Additionally, each respective spatial point can be associated with a respective timestamp (e.g., a time at which laser was emitted or received). In this way, the received spatial points may be organized, identified, or otherwise ordered on a spatial (laser identification) and/or temporal (timestamp) basis. Such an ordering may assist or improve an analysis of the spatial-point data by allowing for organizing the spatial-point data into a meaningful order.

In some examples, object detection is provided in connection with an example LIDAR device. The LIDAR device may be configured to capture laser point cloud images using one or more lasers. The laser point cloud includes many points for each pulse emitted from the LIDAR device; reflected signals may indicate actual locations of reflective objects, whereas failing to receive reflected signals indicate an absence of sufficiently reflective objects within a particular distance along the line of sight of the laser. Depending on factors including the laser pulse rate, the scene refresh rate, the total solid angle sampled by each LIDAR device (or just the total solid angle of the scene, where only one LIDAR device is used), the number of sample points in each point cloud can be determined. Some embodiments can provide point clouds with as many as 50,000 laser-indicated points, 80,000 laser-indicated points, 100,000 laser-indicated points, etc. Generally, the number of laser-indicated points in each point cloud is a tradeoff between angular resolution on the one hand, and refresh rate on the other hand. The LIDAR device is driven to provide an angular resolution at a sufficiently high refresh rate to be relevant to real time navigational decisions for an autonomous vehicle. Thus, the LIDAR device can be configured to capture one or more laser point clouds of the scanning zone at predetermined time intervals, such as 100 milliseconds (to achieve a refresh rate of 10 frames per second), 33 milliseconds (to achieve a refresh rate of 30 frames per second), 1 millisecond, 1 second, etc., so as to capture a number of scans of the environment.

With reference to FIG. 1, data storage 114 of computer system 112 of vehicle 100 can store object-detector software, code, or other program instructions. Such object-detector software can include, or be part of, one or more of the control systems 106 described above, including the sensor fusion algorithm 138, computer vision system 140, and/or obstacle avoidance system 144. The object detector may be any configuration of software and/or hardware configured to perceive features in the environmental scene by categorizing and/or identifying objects based on the laser point clouds captured by the LIDAR 128 and/or based on one or more of the sensors in sensor system 104. As a laser point cloud is captured via LIDAR 128, data indicative of the captured point cloud is communicated to the object detector, which analyzes the data to determine whether there is an object present in the laser point cloud. Objects indicated by the point cloud may be, for example, a vehicle, a pedestrian, a road sign, a traffic light, a traffic cone, etc.

To determine whether an object is present in a laser point cloud image, the object detector software and/or module can associate arrangements of laser-indicated points with patterns matching objects, environmental features, and/or categories of objects or features. The object detector can be pre-loaded (or dynamically instructed) to associate arrangements according to one or more parameters corresponding to physical objects/features in the environment surrounding the vehicle 100. For example, the object detector can be pre-loaded with information indicating a typical height of a pedestrian, a length of a typical automobile, confidence thresholds for classifying suspected objects, etc.

When the object detector identifies an object in point cloud, the object detector can define a bounding box encompassing that object. For example, the bounding box can correspond to a predicted exterior surface of the point cloud indicated object. Of course, the bounding “box” can generally take the form of a multi-sided closed shape defining the predicted outer boundaries of the object.

For each captured point cloud, positions of perceived objects and their corresponding boundary definitions are associated with a frame number or frame time. Thus, similarly shaped objects appearing in roughly similar locations in successive scans of the scene can be associated with one another to track objects in time. For perceived objects appearing in multiple point cloud frames (e.g., complete scans of the scanning zone), the object can be associated, for each frame on which the object appears, with a distinct bounding shape defining the dimensional extent of the perceived object.

Perceived objects can be tracked as the vehicle 100 travels through its surrounding environment and/or as objects move with respect to the vehicle so as to pass through the scanning zone of the LIDAR device 128. Combining two or more successively captured point clouds can thereby allow for determining translation information for detected objects. Future position predictions can be made for objects with characterized motion profiles, such as by observing acceleration and/or velocity of objects such as cars moving along the roadway with the vehicle 100 to predict the location of the object during a subsequent scan. In some embodiments, objects moving through the air are assumed to move along a trajectory influenced by the force of gravity.

To assist in providing object recognition, the vehicle 100 can also be in communication with an object-identification server (e.g., via the wireless communication system 146). The object-identification server can verify and/or classify objects detected by vehicle 100 using the object detector. Moreover, the object-identification server can facilitate optimization of one or more of the parameters used by the object detector to detect objects in the captured laser point cloud based on accumulated data from other similar systems, local conditions. In one embodiment, vehicle 100 can communicate the object boundaries, and their corresponding object parameters, to the object identification server for verification that the perceived objects are correctly identified, such as indicated by an evaluation for statistical likelihood of correct identification.

Referring back to FIG. 3, at block 306, the method 300 includes comparing laser data points that are unassociated with the one or more objects in the environment with stored laser data points representative of a pattern due to fog. Within examples, for laser data that is deemed to be representative of an object, the laser data may be associated with the object in the environment, and remaining received or collected laser data may be considered unassociated with the objects in the environment.

Within examples, the method 300 may be executed to determine instances in which objects are not detected by the laser that are expected to be present or objects are detected that are unexpected (i.e., laser measurements are lost or altered due to the fog). As described above, for received reflected laser data, it may be determined that an object is present to cause the laser to be reflected. But, in foggy conditions, the fog may cause a reflection, resulting in a false determination of an object. To determine when laser data is based on real objects present in an environment versus a fog that causes a reflection of laser emissions, the computing device can be configured to compare laser data with laser data known to be representative of objects and/or known to be due to fog reflections. Thus, comparison of received laser data with patterns of laser data known to be representative of objects can be made to identify laser data likely to be due to something other than an object.

Any number of patterns of laser data may be stored and referenced for comparison to the unassociated laser data to categorize the unassociated laser data as being representative of an object or due to a weather condition, such as fog.

As another example to distinguish between laser data due to objects and due to other conditions (e.g., a fog), the computing device may be configured to track movement of objects as represented by laser data. Thus, all laser data may be tracked as being representative of moving objects, and objects that are seen to move in an odd manner, or that appear and disappear over a short time frame, may be considered false objects that are due to laser data reflections caused by a weather condition.

Within examples, the method 300 may include determining the laser data points that are unassociated with the one or more objects in the environment. The LIDAR may be configured to perform a first scan of the environment, and associating the laser data points of the plurality of laser data points with one or more objects in the environment. The LIDAR may then be configured to perform a second scan of the environment, and determine laser data points that match to the one or more objects based on a location of an object represented by the laser data points. Then, laser data points of the second scan that are unassociated with the one or more objects in the environment based on a lack of a match to the one or more objects in the first scan can be determined. In further examples, the second scan may be representative of a scan of the environment after the first scan or after a number of scans so that object tracking has occurred over some time for comparison to the second scan data.

At block 308, the method 300 includes based on the comparison, identifying by the computing device an indication that a weather condition of the environment of the vehicle includes fog. In an example, when the unassociated laser data matches or substantially matches to a pattern of laser data due to fog, the computing device may identify that the laser data is due to fog.

In one example, laser data may relate to presence of water in the air or cloudy conditions typical with a fog, and such water droplets or clouds are untracked items by the vehicle's tracking system. For example, to a LIDAR device, which detects and locates optically reflective features, water droplets in the air or cloud features in the air resemble an object cloud because light pulses are reflected from the particulates. The LIDAR device may not be able to penetrate through a fog, and thus, when a fog is present, many laser points may be returned due to the fog. Thus, for any untracked received laser data (e.g., laser data that does not match to tracked objects), an indication can be determined that a weather condition of the environment of the vehicle includes fog.

In addition (or alternatively), at block 306, the method 300 may include determining that a number of laser data points that are unassociated with the one or more objects in the environment exceeds a predefined threshold, and then identifying by the computing device an indication that a weather condition of the environment of the vehicle includes fog. For instance, if there are a few laser data points unassociated with objects, this may be due to any number of factors (such as spurious reflected lasers for instance); however, for a certain threshold number of laser data points, a higher probability may exist that these are due to emitted laser beams reflected off of water droplets in the air.

In another example, as a vehicle's laser or lasers are moved along, the vehicle may collect data points including range and intensity information for the same location (point or area) from several directions and/or at different times. For example, each data point may include an intensity value indicative of reflectivity of an object from which light was received by the laser as well as location information. Highly reflective surfaces may be associated with an intensity value which is greater than less reflective surfaces. Similarly, darker objects (black, navy blue, brown, etc.) which absorb more light may be associated with a lower intensity value than lighter colored objects which may reflect more light (white, cream, silver, etc.). In this regard, cloudy fogs may present a darker environment, and therefore, rather than increasing the intensity value of a perceived object, a fog may decrease the intensity value.

In some examples, intensity values of laser data point may be scaled, for example, from 0-250, where 0 is dark and 250 is bright. Thus, more reflective, brighter surfaces may be associated with intensity values closer to 250, while less reflective, darker surfaces may be associated with intensity values closer to 0. A laser scan data may be received and processed to generate geographic location coordinates. These geographic location coordinates may include GPS latitude and longitude coordinates (x,y) with an elevation component (z), or may be associated with other coordinate systems. A result of this processing is a set of data point. Each data point of this set may include an intensity value indicative of reflectivity of the object from which the light was received by the laser as well as location information: (x,y,z).

An average intensity of the laser data points for an environment may be compared to a threshold to further identify an indication of a fog. For example, as noted above, the water droplets may decrease the intensity of laser data collected. Thus, a foggy environment may have laser data with average intensity values that are somewhat lower that of a clear environment. If some percentage of the examined laser data points have intensity values below a certain threshold value, a determination that the weather condition includes a fog can be made. For example, using the 0 to 250 scale described above, if there are 1000 laser data points in the roadway and at least 850 of these 1000 points (or at least 85% of these laser data points) have an intensity below a threshold of 10, the environment is dark. As noted above, a lower intensity value may indicate a high probability that a fog is present. Other thresholds and percentages may also be used, for example. Laser data representative of a clear environment may be stored and accessed for comparison purposes, for example.

In further examples, the method 300 may include determining a location of the vehicle, determining a distribution of expected values of laser data for the environment of the location of the vehicle, and comparing the determined distribution to the laser data collected for the environment of the vehicle. The distribution of expected values of laser data for the location for clear conditions may be retrieved from data storage or received from a server, for example, based on the location of the vehicle. Maps of intensity of laser data per location can be generated and stored for both dry and clear conditions. Based on a difference between the determined distribution and the laser data collected for the environment of the vehicle being above a threshold, an identification of a second indication that the weather condition includes a fog can be made. For instance, if the difference is high, then the laser data does not match that as expected to be seen for a clear day. Thus, such comparisons can be indicative of another indication that a fog is present.

In still further examples, the method 300 may further include determining a form of a shape of the laser data points that are unassociated with one or more objects in the environment. A fog may have a unique shape, and shapes and radius's of point clouds generated due to general fogs may be created and stored, and later compared to received laser data. When the laser data maps to a stored shape of a fog, then a further indication of the fog can be made.

Within examples, using the method 300, the vehicle may be configured to operate in an autonomous mode, and the indication that the surface on which the vehicle travels is wet can be utilized to determine a driving decision for the vehicle. It may be desired to control the vehicle differently due to various weather conditions or conditions of the road, and thus, when fog is present, the vehicle may be operated according to a “fog” driving technique (e.g., allow more space for braking, reduce speeds, etc.). Vehicles may not operate as well in certain weather conditions, and thus, in some examples, based on the indication of a fog, the vehicle may provide instructions to indicate a request to transition to a manual mode, such as by providing an alert to the driver to begin operation of the vehicle by disabling the autonomous mode.

In addition or as an alternative to making a driving decision, the road weather conditions and/or road surface conditions may trigger an alert to be sent to the driver. The alert may request the driver to take control of the vehicle or may simply provide an alert to the driver of the condition. The alert may be an aural signal, a visual signal, a haptic or tactile and/or any other signal that gets the attention of the driver. In this example, after alerting the driver, the vehicle may receive input from the driver, such as turning the steering wheel, applying the brake, applying the accelerator, pressing an emergency shut-off, etc.

In some examples, additional data may be considered (in addition to laser data points being unassociated with tracked objects) to make a determination that a weather condition of the environment in which the vehicle resides includes fog, or to provide a higher probability or confidence of fog being present (e.g., that the unassociated laser data points are due to water particulates in the air versus a tracked object).

FIG. 4 is a block diagram of example methods for determining further indications of weather conditions including fog using onboard vehicle sensors, in accordance with at least some embodiments described herein. Method 400 shown in FIG. 4 presents an embodiment of a method that, for example, could be used with the vehicle 100 and/or vehicle 200 as illustrated and described in reference to FIGS. 1 and 2, respectively (or components of the vehicle 100 or vehicle 200), and may be executed in addition to the method 300 shown in FIG. 3. The method 400 may represent a module, a segment, or a portion of program code, which includes one or more instructions (e.g., machine readable code) executable by a processor for implementing specific logical functions or steps in the process.

As shown at block 402, the method 400 may include determining whether the laser data is in agreement with RADAR data. For example, the autonomous vehicle may collect radar data for the environment of the vehicle, and the RADAR data is indicative of a presence of objects in the environment of the vehicle. A radar will generally not return data for water particulates or cloudy compositions present in the air, however, the radar data can identify a objects through the clouds. The laser data is also used to track objects as well as described above, and when the presence of an object as indicated by the RADAR data does not agree with the presence of an object as indicated by the LIDAR data, then the LIDAR data may be deemed to be incorrect. Any additional objects indicated by the LIDAR data that are not indicated by the RADAR data can be indicators of water particulates or other returned laser data due to a fog. In such examples, when objects due to LIDAR data are seen at a certain distance and detected for some threshold period of time, but no objects due to RADAR are see that match, an indication that the roadway is foggy can be made.

In some examples, any objects tracked by the LIDAR data that are not seen in the RADAR data may be categorized as due to a weather condition. As shown in the method 400, based on a lack of agreement of the RADAR and LIDAR data, the method 400 includes determining false returns of laser data at block 404. At block 406, a determination can be made as to whether a number of the false returns is above a threshold, as discussed above. For example, for a small number of false returns, such as spurious or erroneous reflected laser data, no further action may be taken or the laser data can be reprocessed (as shown at block 414). However, when the number of false returns is above the threshold, the method 400 includes identifying an indication that a weather condition of the environment of the vehicle includes fog, as shown at block 408.

In further examples, laser data points that are unassociated with objects as indicated by the RADAR that form a circular shape around objects indicated by the RADAR can be determined to be due to fog. In some examples, a density of the fog may also be estimated. For example, a distance between an object in the environment that is unassociated with laser data points (e.g., a fog) and a given object in the environment indicated by the radar data (and also possibly associated with laser data points) can be determined, and an estimation of a density of the fog can be made based on the distance. Using the two sensors (LIDAR and RADAR), a presence of an object at a certain range can be detected, and the distance between where the fog is detected to where the object is located can provide a measurement of visibility or density of the fog. Density may be stated as a distance of visibility, such as visibility of less than 5 km, for example, and the distance can be that as determined between where the fog is detected and where the object is located. In still further example, a determination of a density of the fog may be based on a number of unassociated laser data points. In instances in which a heavy or dense fog is present, there may be a large number of unassociated laser data points.

The method 400 may proceed to block 410 where the method 400 includes determining whether the laser data is in agreement with camera data. For example, the autonomous vehicle may include a camera and may receive image data collected for the environment of the vehicle. A fog may be visible in images, and thus, images may be processed using object detection techniques, e.g., by providing the images to an object detection server and receiving a response indicating objects in the images.

FIG. 5A is an example conceptual illustration of identifying an indication that a weather condition of the environment includes fog. In FIG. 5A, a vehicle 502 travels on a surface and includes sensors that collect data of areas around the vehicle 502. The sensors may include a LIDAR unit that can receive reflected laser beams from areas in the environment and a camera that can be configured to collect images of the environment. Another vehicle 504 may be traveling in front of the vehicle 502. The camera may capture an image of the area 506.

FIG. 5B is an example conceptual illustration of an image captured by the vehicle 502 in FIG. 5A. The image illustrates that a portion of a rear of the vehicle is covered or obscured by a fog. The image may be processed to determine that a number of pixels in the image data are substantially grey in color. Based on a percentage of the pixels being substantially grey in color, a second indication of a foggy weather condition may be made. In FIG. 5B, about 40-45% of the image is obscured by the fog, and thus, the threshold may be met. Lower percentages may be used as well. However, percentages of about 40% or more may be used for higher probabilities of the image including a fog.

In some examples, the image data may be processed to identify objects in the image, and when the objects as indicated by the camera image do not agree with objects as indicated by the LIDAR data, an indication that a fog is present can be made as well. For example, the image in FIG. 5B may indicate an object present in an area covering coordinates x₁-x_(n), while the laser data may only indicate an object present in an area covering coordinates x₂-x_(n). Thus, the camera data does not agree with the laser data, and such disagreement can be used as an indicator of a fog being present.

Referring back to FIG. 4, based on a disagreement of the camera data and the laser data, an indication of the environment of the vehicle including fog can be made, as shown at block 408.

The method 400 may proceed to block 412 where the method 400 includes determining whether the laser data is in agreement with weather data. For example, weather information for a location of the vehicle can be received from a server over a network, and when the weather information indicates a chance of fog, or foggy conditions, a second indication that a fog is present can be made. Weather data may alternatively or additionally be received from onboard vehicle sensors, such as a precipitation sensor or “rain detector”, and when the LIDAR data is indicative of false returns combined with the precipitation sensor indicating the presence of precipitation, a second indication can be made that the fog is present. It may not be possible to rely solely on outputs of the precipitation sensor to determine whether the atmosphere includes a sufficient amount of moisture to cause a fog, and thus, the sensor outputs can be used as a secondary measure.

In further examples, additional weather data such as a temperature or dew point, can be determined from on-board vehicle sensors or communication with a server, and a second indication that the weather condition of the environment of the vehicle includes the fog can be made based on the temperature or dew point. For example, a fog may form when a difference between temperature and dew point is about less than 2.5 degrees Celsius or 4 degrees Fahrenheit. Fogs normally occur at a relative humidity near 100%, however, fogs can form at lower humidities, and fog can sometimes not form with relative humidity at 100%. A reading of 100% relative humidity means that the air can hold no additional moisture; the air will become supersaturated if additional moisture is added. Fogs can form suddenly, and can dissipate just as rapidly, depending what side of the dew point the temperature is on.

Within examples, the method 400 may be performed to provide further indications that the environment of the vehicle includes fog. The method 400 may be optionally performed in addition to the method 300 in FIG. 3. For example, the unassociated laser points (e.g., generated due to water droplets, moisture in the air, or generally fog) could be unassociated relative to laser-detected vehicles or possibly unassociated relative to radar-detected vehicles, and the basis for identifying that the fog may be verified by cross-reference to other sensor data, weather information, etc. Any combination of the functions described in FIG. 4 may be combined with FIG. 3 to provide an improved confidence level that a fog is present.

Still further, in addition to the sensor data described above, input from other sensors on vehicles can be used to make additional determinations of weather conditions. For example, these sensors may include tire pressure sensors, engine temperature sensors, brake heat sensors, brake pad status sensors, tire tread sensors, fuel sensors, oil level and quality sensors, air quality sensors (for detecting temperature, humidity, or particulates in the air), etc.

Further, many of the sensors on the vehicle provide data that is processed in real-time, that is, and the sensors may continuously update outputs to reflect the environment being sensed at or over a range of time, and continuously or as-demanded.

FIGS. 6A-6B include example conceptual side view illustrations of identifying an indication that an environment of a vehicle includes a fog. In FIG. 6A, a vehicle 602 travels on a surface and another vehicle 604 travels in front of the vehicle 602. The vehicle 602 may include a LIDAR unit 606 that is configured to receive laser data collected for an area in front of the vehicle 602 (e.g., as shown by the arrows in FIG. 6A), and the laser data may indicate that the vehicle 604 is a at distance d₁ from the vehicle 602. The vehicle 604 may travel through a fog, as shown in FIG. 6B. The water in the fog may be detected by the LIDAR unit 606 when laser beams are reflected by the water, and the laser data may now indicate that the vehicle 604 is at a distance d₂ from the vehicle 602 due to the fog. However, the water may not be an object tracked by a tracking system of the vehicle 602, since other sensors (e.g., RADAR) may not detect the water or the LIDAR unit 608 may not track the water constantly over time. When laser data is received that does not match to tracked objects, the unassociated laser data can be deemed an indication of water in the air, and an indication that a fog is present.

The laser data may be compared to a predefined or stored shape point cloud that may be generated due to a fog. As an example, laser data points that are approximately around a tracked object, as indicated by the radar data, that are representative of an objects of a substantially circular shape that has a radius of a fog (when compared to stored point clouds) can be processed by comparison to stored point clouds for further verifications of the fog. For all laser data points unassociated with an object in the environment indicated by the radar data that are representative of objects approximately around a tracked object, such laser data points may be indicative of the fog. In this regard, the vehicle 602 may detect a cloud or clouds of random data points at a rear of the vehicle 604, and as a consequence of the moving water in the air, a location and number of the data points within the clouds may constantly be changing. Thus, a cloud of data points from a fog may not have a definitive structure, whereas a portion of solid object, such as the rear end of a vehicle, would be associated with data points defining a clear surface. Similar data point clouds may also be observed behind other vehicles. Such observations may indicate that a fog is present.

It should be understood that arrangements described herein are for purposes of example only. As such, those skilled in the art will appreciate that other arrangements and other elements (e.g. machines, interfaces, functions, orders, and groupings of functions, etc.) can be used instead, and some elements may be omitted altogether according to the desired results. Further, many of the elements that are described are functional entities that may be implemented as discrete or distributed components or in conjunction with other components, in any suitable combination and location, or other structural elements described as independent structures may be combined.

While various aspects and embodiments have been disclosed herein, other aspects and embodiments will be apparent to those skilled in the art. The various aspects and embodiments disclosed herein are for purposes of illustration and are not intended to be limiting, with the true scope being indicated by the following claims, along with the full scope of equivalents to which such claims are entitled. It is also to be understood that the terminology used herein is for the purpose of describing particular embodiments only, and is not intended to be limiting. 

What is claimed is:
 1. A method comprising: receiving laser data collected from scans of an environment of a vehicle, wherein the laser data includes a plurality of laser data points; associating, by a computing device, laser data points of the plurality of laser data points with one or more objects in the environment by; for a first scan of the environment, associating, by the computing device, the laser data points of the plurality of laser data points with the one or more objects in the environment; for a second scan of the environment, determining laser data points that match to the one or more objects based on a location of an object represented by the laser data points; determining laser data points that are unassociated with the one or more objects in the environment based on a lack of a match to the one or more objects in the first scan; comparing the laser data points that are unassociated with the one or more objects in the environment with stored laser data points representative of a pattern due to fog; and based on the comparison, identifying by the computing device an indication that a weather condition of the environment of the vehicle includes fog.
 2. The method of claim 1, wherein identifying by the computing device the indication that the weather condition of the environment of the vehicle includes fog comprises: determining that a number of the laser data points unassociated with the one or more objects in the environment is above a threshold number.
 3. The method of claim 1, further comprising: receiving additional data collected for the environment of the vehicle from one or more additional sensors, wherein the additional data is indicative of a presence of one or more objects in the environment of the vehicle; determining laser data points of the plurality of laser data points that are associated with the one or more objects in the environment indicated by the additional data; and based on laser data points being unassociated with the one or more objects in the environment indicated by the additional data, identifying the indication that the weather condition of the environment of the vehicle includes fog.
 4. The method of claim 1, further comprising: receiving radar data collected for the environment of the vehicle, wherein the radar data is indicative of a presence of one or more objects in the environment of the vehicle; determining laser data points of the plurality of laser data points that are associated with the one or more objects in the environment indicated by the radar data; and based on laser data points being unassociated with the one or more objects in the environment indicated by the radar data, identifying the indication that the weather condition of the environment of the vehicle includes fog.
 5. The method of claim 1, further comprising: receiving image data captured from a camera coupled to the vehicle; and identifying a second indication that the weather condition of the environment of the vehicle includes fog based on the image data.
 6. The method of claim 1, further comprising: receiving image data collected for the environment of the vehicle; determining, by the computing device, one or more objects in the image data that are associated with the one or more objects in the environment; and based on an object of the one or more objects in the image data being unassociated with the one or more objects in the environment, identifying by the computing device a second indication that the weather condition of the environment of the vehicle includes fog.
 7. The method of claim 1, wherein the vehicle is configured to operate in an autonomous mode, and the method further comprises based on the indication that the weather condition of the environment of the vehicle includes fog, determining a driving decision for the vehicle.
 8. The method of claim 1, wherein the vehicle is configured to operate in an autonomous mode, and the method further comprises based the indication that the weather condition of the environment of the vehicle includes fog, providing instructions to indicate a request to transition to a manual mode.
 9. The method of claim 1, further comprising: receiving weather information for a location of the vehicle from a server over a network; and identifying a second indication that the weather condition of the environment of the vehicle includes the fog based on the weather information.
 10. The method of claim 1, further comprising: receiving a current temperature for a location of the vehicle from a server over a network; and identifying a second indication that the weather condition of the environment of the vehicle includes fog based on the current temperature.
 11. The method of claim 4, further comprising: determining an object represented by laser data points that are unassociated with the one or more objects in the environment; determining a distance between the object and a given object of the one or more objects in the environment indicated by the radar data and associated with laser data points; and determining an estimation of a density of the fog based on the distance.
 12. The method of claim 4, wherein identifying by the computing device the indication that the weather condition of the environment of the vehicle includes fog comprises: determining that the laser data points unassociated with the one or more objects in the environment indicated by the radar data are representative of data points approximately around one of the one or more objects indicated by the radar data.
 13. The method of claim 5, wherein identifying the second indication that the weather condition of the environment of the vehicle includes fog based on the images comprises: determining that a number of pixels in the image data are substantially grey in color.
 14. The method of claim 12, further comprising determining that the data points approximately around one of the one or more objects indicated by the radar data are representative of a substantially circular shape having a radius of a fog.
 15. A non-transitory computer readable storage medium having stored therein instructions, that when executed by a computing device, cause the computing device to perform functions comprising: receiving laser data collected from scans of an environment of a vehicle, wherein the laser data includes a plurality of laser data points; associating laser data points of the plurality of laser data points with one or more objects in the environment; receiving additional data collected for the environment of the vehicle from one or more additional sensors, wherein the additional data is indicative of a presence of one or more objects in the environment of the vehicle; determining laser data points of the plurality of laser data points that are associated with the one or more objects in the environment indicated by the additional data; and comparing laser data points that are unassociated with the one or more objects in the environment with stored laser data points representative of a pattern due to fog; and based on the comparison and on laser data points being unassociated with the one or more objects in the environment indicated by the additional data, identifying by the computing device an indication that a weather condition of the environment of the vehicle includes fog.
 16. A system, comprising: at least one processor; and data storage comprising instructions executable by the at least one processor to cause the system to perform functions comprising: receiving laser data collected from scans of an environment of a vehicle, wherein the laser data includes a plurality of laser data points; associating laser data points of the plurality of laser data points with one or more objects in the environment by; for a first scan of the environment, associating the laser data points of the plurality of laser data points with the one or more objects in the environment; for a second scan of the environment, determining laser data points that match to the one or more objects based on a location of an object represented by the laser data points; determining laser data points that are unassociated with the one or more objects in the environment based on a lack of a match to the one or more objects in the first scan; comparing the laser data points that are unassociated with the one or more objects in the environment with stored laser data points representative of a pattern due to fog; and based on the comparison, identifying by the computing device an indication that a weather condition of the environment of the vehicle includes fog.
 17. The system of claim 16, wherein the functions further comprise: receiving radar data collected for the environment of the vehicle, wherein the radar data is indicative of a presence of one or more objects in the environment of the vehicle; determining an object in the environment indicated by the radar data that is unassociated with laser data points; determining a distance between the object in the environment indicated by the radar data unassociated with laser data points and a given object of the one or more objects in the environment indicated by the radar data and associated with laser data points; and determining an estimation of a density of the fog based on the distance.
 18. The system of claim 16, wherein the vehicle is configured to operate in an autonomous mode, and the functions further comprise: based on the indication that the weather condition of the environment of the vehicle includes fog, determining a driving decision for the vehicle; and providing instructions to indicate a request to transition to a manual mode. 